package com.st.qdmall.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import com.st.qdmall.entity.Admin;

@Mapper
public interface AdminDao {

	/**
	 * 根据账号和密码查询Admin表
	 */
	@Select("select * from admin where username=#{username} and password=#{password}")
	Admin select(String username, String password);
}
